package proxypattern.base;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * @author yaojianfeng
 */
public interface BaseRemote extends Remote {
    /**
     * 远程接口
     * @return 字符串(json)
     * @throws RemoteException 远程调用异常
     */
    public String sayHello() throws RemoteException;

}
